package top.chmin.project.cloud.common.entity.api;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * chmin
 * 2023/12/18 16:47
 * cloud-builder
 */
public interface BuilderCode {

    @PostMapping("/entity/code")
    void build(@RequestBody Param param);

    @Getter
    @Setter
    @Accessors(chain = true)
    class Param {
        String configCode;
        String tableCode;
    }
}
